<template>
	<view class="">
		<view class="header">
			<view class="basj">
				<image @click="gobacks" src="/static/dazi/bak.png" mode=""></image>
				<text class="title">安全设置</text>
			</view>
		</view>
		<view class="conshe">

			<view class="oanen" @click="gotels">
				<view class="leon">
					<image src="/static/safe/mobile.png" mode="widthFix"></image>
					<view class="tele">
						电话号码
					</view>
				</view>
				<image class="jsts" src="/static/safe/re.png" mode=""></image>
			</view>

			<view class="oanen" @click="goeail">
				<view class="leon">
					<image src="/static/safe/sms2.png" mode="widthFix"></image>
					<view class="tele">
						电子邮箱
					</view>
				</view>
				<image class="jsts" src="/static/safe/re.png" mode=""></image>
			</view>

			<view class="oanen" @click="goedits">
				<view class="leon">
					<image src="/static/safe/key.png" mode="widthFix"></image>
					<view class="tele">
						修改密码
					</view>
				</view>
				<image class="jsts" src="/static/safe/re.png" mode=""></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goedits() {
				uni.navigateTo({
					url: '/pages/set/editpass'
				})
			},
			goeail() {
				uni.navigateTo({
					url: '/pages/set/seteamil'
				})
			},
			// 电话号码
			gotels() {
				uni.navigateTo({
					url: '/pages/set/setel'
				})
			},
			gobacks() {

				// #ifdef H5
				history.back();
				// #endif

				// #ifdef APP
				uni.navigateBack()
				// #endif

			},
		}
	}
</script>

<style lang="scss">
	.oanen {
		margin-bottom: 30rpx;
		background-color: #fff;
		border-radius: 30rpx;
		padding: 34rpx 30rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.jsts {
		width: 32rpx;
		height: 32rpx;
	}

	.leon {
		display: flex;
		align-items: center;

		.tele {
			margin-left: 20rpx;
			color: #2A222F;
			font-size: 28rpx;
		}

		image {
			width: 48rpx;
			height: 48rpx;
			vertical-align: middle;

		}
	}

	.conshe {
		margin: 60rpx 0;
	}

	page {
		padding: 30rpx;
		background-color: #f7eff8;
		overflow: hidden;
		background-image: url('/static/assets7/e9cd3fc4ee4eabc1262262a469ab1c21.png');
		background-size: 100% 100%;
		background-repeat: no-repeat;
		width: 100%;
		overflow-y: auto;
		overflow-x: hidden;
		height: 100%;
	}

	.basj {
		display: flex;
		align-items: center;
		height: 60rpx;

		image {
			width: 48rpx;
			height: 48rpx;
			vertical-align: middle;
		}

		.title {
			margin-left: 10rpx;
			color: #2A222F;
			font-size: 40rpx;
		}
	}

	.header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 60rpx;

		letter-spacing: 2rpx;
		/* 字母间距 */
		font-weight: 600;
		// border: #dddddd solid 1px;

		.btn-side {
			position: absolute;
			line-height: 60rpx;
			font-size: 28rpx;
			cursor: pointer;

			&.right {
				right: 30rpx;
			}
		}
	}
</style>